{	Problem: http://codeforces.ru/problemset/problem/53/C
	Verdict: Accepted
}
var i,n:longint;
begin
read(n);
for i:=1 to n div 2 do
  write(i,' ',n-i+1,' ');
if odd(n) then write(n div 2+1);
end.